const user={
  state: {
    user: {
      id:'',
      username:'',
      password:'',
      auth:'',
      islocking:''
    }
    },
    mutations:{
        userUpdate(state,user){
          state.user=user;
        },
        clearUser(state){
          state.user={
            id:'',
            username:'',
            password:'',
            auth:'',
            islocking:''
          }
        }

    }
}

export  default user;
